package cn.monkey.io.transport.netty;

import io.netty.channel.group.ChannelGroup;
import reactor.core.publisher.Mono;

public interface ChannelGroupExchange extends NettyExchange {

    ChannelGroup channelGroup();

    @Override
    ChannelGroupInbound inbound();

    @Override
    ChannelGroupOutbound outbound();

    @Override
    ChannelGroupExchange bind();

    Mono<Void> destroy(ChannelExchange channelExchange);
}
